package com.controller.qsl;

import com.bean.qsl.BxInfo;
import com.dao.qsl.BxChaXun;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

@Controller
public class GetBxCx {

      @Autowired
      private BxChaXun b;

      @RequestMapping("/QslPage/bxcx")
      @ResponseBody
      public List<BxInfo> cx(String zt , HttpServletRequest request){

	  return b.cx(zt,request);
      }
}
